package com.zimmur.model.dto;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class UserDTO implements Serializable{
	private static final long serialVersionUID = -7397914275569272984L;
	private String userId;
	private String userName;
	@JsonIgnore
    private String userPwd;
	@JsonIgnore
    private String deviceId;

	public UserDTO(){}
	
	public UserDTO(String userId,String userName){
		this.userId = userId;
		this.userName = userName;
	}
	
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserPwd() {
		return userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	@Override
	public String toString() {
		return "UserDTO [userId=" + userId + ", userName=" + userName + ", userPwd=" + userPwd + ", deviceId="
				+ deviceId + "]";
	}
	
}
